---
title: ProtectedViewWindows.Count Property (Word)
keywords: vbawd10.chm82313217
f1_keywords:
- vbawd10.chm82313217
ms.prod: word
api_name:
- Word.ProtectedViewWindows.Count
ms.assetid: edd30c3f-6890-be71-57c0-0aa3b1dea1a5
ms.date: 06/08/2017
---


# ProtectedViewWindows.Count Property (Word)

Returns a  **Long** that represents the number of protected view windows in the collection. Read-only.


## Syntax

 _expression_ . **Count**

 _expression_ An expression that returns a **ProtectedViewWindows** object.


## Example

The following code example displays the number of protected view windows that are currently open.


```vb
MsgBox ProtectedViewWindows.Count
```


## See also


#### Concepts


[ProtectedViewWindows Object](protectedviewwindows-object-word.md)

